<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EOS.IO: contracts/eoslib/reflect.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="eos-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EOS.IO
   &#160;<span id="projectnumber">DAWN3.0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_ae9b15dd87e066e1908bbd90e8f38627.html">contracts</a></li><li class="navelem"><a class="el" href="dir_3fea0bf1ce879ce73e6ecec98007efcd.html">eoslib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">reflect.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="reflect_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="utility_8hpp.html">eoslib/utility.hpp</a>&gt;</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="seq_2for__each_8hpp.html">eoslib/preprocessor/seq/for_each.hpp</a>&gt;</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="seq_2enum_8hpp.html">eoslib/preprocessor/seq/enum.hpp</a>&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="seq_2size_8hpp.html">eoslib/preprocessor/seq/size.hpp</a>&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="seq_2seq_8hpp.html">eoslib/preprocessor/seq/seq.hpp</a>&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="stringize_8hpp.html">eoslib/preprocessor/stringize.hpp</a>&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceeosio.html">eosio</a> {</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;  <span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00011"></a><span class="lineno"><a class="line" href="structeosio_1_1reflector.html">   11</a></span>&#160;  <span class="keyword">struct </span><a class="code" href="structeosio_1_1reflector.html">reflector</a> {</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="structeosio_1_1reflector.html#ad3b342f6409c1bd7ec18c8ed60c16831">   12</a></span>&#160;     <span class="keyword">typedef</span> <a class="code" href="structeosio_1_1false__type.html">false_type</a> <a class="code" href="structeosio_1_1reflector.html#ad3b342f6409c1bd7ec18c8ed60c16831">is_reflected</a>;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structeosio_1_1reflector.html#a49a28a4d6cd2528a53b0b8f3a8d2d022">   13</a></span>&#160;     <span class="keyword">typedef</span> <a class="code" href="structeosio_1_1false__type.html">false_type</a> <a class="code" href="structeosio_1_1reflector.html#a49a28a4d6cd2528a53b0b8f3a8d2d022">is_enum</a>;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  };</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;} </div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a6269ed771378e6ab12a6507ce5c5efd6">   20</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_VISIT_BASE(r, visitor, base) \</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">  eosio::reflector&lt;base&gt;::visit( visitor );</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a2503e9c2314b9e45ac3c5c537a3d14a0">   23</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_VISIT2_BASE(r, visitor, base) \</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">  eosio::reflector&lt;base&gt;::visit( t, forward&lt;Visitor&gt;(visitor) );</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#ae6f443a0fcd4af9b3e1c9d6a257cdc84">   27</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_VISIT_MEMBER( r, visitor, elem ) \</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">{ typedef decltype((static_cast&lt;type*&gt;(nullptr))-&gt;elem) member_type;  \</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">   visitor( &amp;type::elem ); \</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">}</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a60d5d77e2baad66c15753762be20230a">   32</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_VISIT2_MEMBER( r, visitor, elem ) \</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">{ typedef decltype((static_cast&lt;type*&gt;(nullptr))-&gt;elem) member_type;  \</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">   visitor( t.elem ); \</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">}</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a8b82e86bebd96205c2b523054ac322c8">   38</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_BASE_MEMBER_COUNT( r, OP, elem ) \</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">  OP eosio::reflector&lt;elem&gt;::total_member_count</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#af10a833881d03fb0f67ea89e0dabf049">   41</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_MEMBER_COUNT( r, OP, elem ) \</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">  OP 1</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a65097ea3682f03935c5e4aad63d233a6">   44</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_DERIVED_IMPL_INLINE( TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">template&lt;typename Visitor&gt;\</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">static inline void visit( Visitor&amp;&amp; v ) { \</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT_BASE, v, INHERITS ) \</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT_MEMBER, v, MEMBERS ) \</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">} \</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">template&lt;typename Visitor&gt;\</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">static inline void visit( const type&amp; t, Visitor&amp;&amp; v ) { \</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT2_BASE, v, INHERITS ) \</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT2_MEMBER, v, MEMBERS ) \</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">} \</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">template&lt;typename Visitor&gt;\</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">static inline void visit( type&amp; t, Visitor&amp;&amp; v ) { \</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT2_BASE, v, INHERITS ) \</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT2_MEMBER, v, MEMBERS ) \</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">}</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a5c0d178e9d1ff2305d466221c81ad4de">   61</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_DERIVED_IMPL_EXT( TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">template&lt;typename Visitor&gt;\</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">void eosio::reflector&lt;TYPE&gt;::visit( Visitor&amp;&amp; v ) { \</span></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT_BASE, v, INHERITS ) \</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">    BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_VISIT_MEMBER, v, MEMBERS ) \</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">}</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#aa532922cd1c727af2a18a36f944afcc0">   77</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT( TYPE, MEMBERS ) \</span></div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED( TYPE, BOOST_PP_SEQ_NIL, MEMBERS )</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#ab66b44183a61e5df85154151f1261b05">   80</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_TEMPLATE( TEMPLATE_ARGS, TYPE, MEMBERS ) \</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED_TEMPLATE( TEMPLATE_ARGS, TYPE, BOOST_PP_SEQ_NIL, MEMBERS )</span></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a00f4751a0ec9d3b190e29107b8e5efce">   83</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_EMPTY( TYPE ) \</span></div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED( TYPE, BOOST_PP_SEQ_NIL, BOOST_PP_SEQ_NIL )</span></div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a9032c65cd45de9ed1a16f96412370328">   87</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_FWD( TYPE ) \</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">namespace eosio { \</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;<span class="preprocessor">  template&lt;&gt; struct reflector&lt;TYPE&gt; {\</span></div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">       typedef TYPE type; \</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="preprocessor">       typedef eosio::true_type is_reflected; \</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<span class="preprocessor">       enum  member_count_enum {  \</span></div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">         local_member_count = BOOST_PP_SEQ_SIZE(MEMBERS), \</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="preprocessor">         total_member_count = local_member_count BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_BASE_MEMBER_COUNT, +, INHERITS )\</span></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">       }; \</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="preprocessor">       template&lt;typename Visitor&gt; static void visit( Visitor&amp;&amp; v ); \</span></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="preprocessor">       template&lt;typename Visitor&gt; static void visit( const type&amp; t, Visitor&amp;&amp; v ); \</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">       template&lt;typename Visitor&gt; static void visit( type&amp; t, Visitor&amp;&amp; v ); \</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="preprocessor">  }; }</span></div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a3502f13e293ee42c85b7cdebf6bbc608">  102</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_DERIVED_IMPL( TYPE, MEMBERS ) \</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_IMPL_DERIVED_EXT( TYPE, BOOST_PP_SEQ_NIL, MEMBERS )</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#aa3d44ca862b4ddbe4a594440ffa7ec6e">  105</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_IMPL( TYPE, MEMBERS ) \</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED_IMPL_EXT( TYPE, BOOST_PP_SEQ_NIL, MEMBERS )</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#abc9537986c7dc6fabbebe7a23aca35a3">  119</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_DERIVED( TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="preprocessor">namespace eosio {  \</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="preprocessor">template&lt;&gt; struct reflector&lt;TYPE&gt; {\</span></div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="preprocessor">    typedef TYPE type; \</span></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">    typedef eosio::true_type  is_reflected; \</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">    typedef eosio::false_type is_enum; \</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="preprocessor">    enum  member_count_enum {  \</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="preprocessor">      local_member_count = 0  BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_MEMBER_COUNT, +, MEMBERS ),\</span></div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="preprocessor">      total_member_count = local_member_count BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_BASE_MEMBER_COUNT, +, INHERITS )\</span></div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="preprocessor">    }; \</span></div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED_IMPL_INLINE( TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">}; }</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="reflect_8hpp.html#a19ecb289e4fa0b10e1947eb7d582c672">  131</a></span>&#160;<span class="preprocessor">#define EOSLIB_REFLECT_DERIVED_TEMPLATE( TEMPLATE_ARGS, TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">namespace eosio {  \</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">template&lt;BOOST_PP_SEQ_ENUM(TEMPLATE_ARGS)&gt; struct reflector&lt;TYPE&gt; {\</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">    typedef TYPE type; \</span></div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">    typedef eosio::true_type  is_defined; \</span></div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">    typedef eosio::false_type is_enum; \</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="preprocessor">    enum  member_count_enum {  \</span></div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">      local_member_count = 0  BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_MEMBER_COUNT, +, MEMBERS ),\</span></div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="preprocessor">      total_member_count = local_member_count BOOST_PP_SEQ_FOR_EACH( EOSLIB_REFLECT_BASE_MEMBER_COUNT, +, INHERITS )\</span></div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="preprocessor">    }; \</span></div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="preprocessor">    EOSLIB_REFLECT_DERIVED_IMPL_INLINE( TYPE, INHERITS, MEMBERS ) \</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="preprocessor">}; }</span></div><div class="ttc" id="namespaceeosio_html"><div class="ttname"><a href="namespaceeosio.html">eosio</a></div><div class="ttdoc">Used to forward declare raw functions. </div><div class="ttdef"><b>Definition:</b> account.hpp:12</div></div>
<div class="ttc" id="structeosio_1_1reflector_html"><div class="ttname"><a href="structeosio_1_1reflector.html">eosio::reflector</a></div><div class="ttdef"><b>Definition:</b> reflect.hpp:11</div></div>
<div class="ttc" id="seq_2enum_8hpp_html"><div class="ttname"><a href="seq_2enum_8hpp.html">enum.hpp</a></div></div>
<div class="ttc" id="structeosio_1_1reflector_html_a49a28a4d6cd2528a53b0b8f3a8d2d022"><div class="ttname"><a href="structeosio_1_1reflector.html#a49a28a4d6cd2528a53b0b8f3a8d2d022">eosio::reflector::is_enum</a></div><div class="ttdeci">false_type is_enum</div><div class="ttdef"><b>Definition:</b> reflect.hpp:13</div></div>
<div class="ttc" id="stringize_8hpp_html"><div class="ttname"><a href="stringize_8hpp.html">stringize.hpp</a></div></div>
<div class="ttc" id="structeosio_1_1reflector_html_ad3b342f6409c1bd7ec18c8ed60c16831"><div class="ttname"><a href="structeosio_1_1reflector.html#ad3b342f6409c1bd7ec18c8ed60c16831">eosio::reflector::is_reflected</a></div><div class="ttdeci">false_type is_reflected</div><div class="ttdef"><b>Definition:</b> reflect.hpp:12</div></div>
<div class="ttc" id="seq_2for__each_8hpp_html"><div class="ttname"><a href="seq_2for__each_8hpp.html">for_each.hpp</a></div></div>
<div class="ttc" id="structeosio_1_1false__type_html"><div class="ttname"><a href="structeosio_1_1false__type.html">eosio::false_type</a></div><div class="ttdef"><b>Definition:</b> types.hpp:105</div></div>
<div class="ttc" id="seq_2size_8hpp_html"><div class="ttname"><a href="seq_2size_8hpp.html">size.hpp</a></div></div>
<div class="ttc" id="utility_8hpp_html"><div class="ttname"><a href="utility_8hpp.html">utility.hpp</a></div></div>
<div class="ttc" id="seq_2seq_8hpp_html"><div class="ttname"><a href="seq_2seq_8hpp.html">seq.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
